﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HelloWorld
{
    public class ConsoleGreeter : IGreeter
    {
        public string Text { get; set; }
        public ConsoleColor ForeColor { get; set; }
        public ConsoleColor BackColor { get; set; }

        public void Greet()
        {
            Console.ForegroundColor = ForeColor;
            Console.BackgroundColor = BackColor;            
            Console.WriteLine(Text);
        }
    }
}
